package net.wofly.sale.commodity.service.impl;

import javax.transaction.Transactional;

import net.wofly.sale.commodity.domain.OrderTypeChannelMapping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import net.wofly.sale.commodity.repository.OrderTypeChannelMappingRepository;
import net.wofly.sale.commodity.service.IOrderTypeChannelMappingService;

@Service("iOrderTypeChannelMappingService")
@Transactional
public class OrderTypeChannelMappingImpl implements IOrderTypeChannelMappingService {
	
	@Autowired
	OrderTypeChannelMappingRepository orderTypeChannelMappingRepository ;
	
	
	@Override
	public OrderTypeChannelMapping findByOrderType(String orderType) {
		return orderTypeChannelMappingRepository.findByOrderType(orderType);
	}
}
